package com.sds.comment;

import java.util.ArrayList;

public class CommentService {
	
	public ArrayList<CommentVO> selectCommentList(int res_id) {
		
		return new CommentDAO().selectCommentList(res_id);

	}
	
	
	public void insertComment(CommentVO comment) {

		new CommentDAO().insertComment(comment);

	}
	
	public void updateComment(CommentVO comment) {

		new CommentDAO().updateComment(comment);

	}
	
	
	public void deleteComment(int id) {

		new CommentDAO().deleteComment(id);

	}

	

}